package com.xliang.spider.version02;

import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import org.jsoup.select.Elements;

public class Test
{
    public static void main(String[] args)
    {
        Document rootDocument = Jsoup.parse("D:\\logFile.html", "GBK");
        Elements elements = rootDocument.getElementsContainingText("经过合并后的订单号们：");
        for (Element e : elements)
        {
            System.out.println(e.text());
        }
    }
}
